package com.itlong.cloud.noncore.app;

import com.itlong.cloud.POJO.PO.AppPublishInfoPO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <desc>
 *      APP端-首页版块-App版本管理业务处理暴露接口
 * </desc>
 *
 * @createDate 2017/10/10
 */
@FeignClient("non-core-service")
public interface IAppAppPublishInfoServiceClient {
    /**
     * <desc>
     *     APP端_首页版块,获取最新版本的发布日志
     * </desc>
     * @param appType 类型,android/ios/iossdk/androidsdk/androidengineer
     * @param appSort 类别 test/official
     * @return
     * @author cuiduanwu
     * @createDate 2017/10/10
     */
    @RequestMapping(path = "/home/versionUpdate",method = RequestMethod.POST)
    AppPublishInfoPO getLatestAppPublishInfo(@RequestParam("appType") String appType,
                                             @RequestParam("appSort") String appSort,
                                             @RequestParam("appLanguage") String appLanguage) throws  Exception;

}
